//
//  busqueda.m
//  prototipo1Movies
//
//  Created by mayraDonaji on 9/25/10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import "busqueda.h"
#import "prototipo1MoviesViewController.h"
#import "recomenda.h"
#import "noticias.h"
#import "prox.h"
#import "help.h"


@implementation busqueda

@synthesize top, estrenos, noticias, inicio, help, input;

/*
 // The designated initializer.  Override if you create the controller programmatically and want to perform customization that is not appropriate for viewDidLoad.
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {
    if ((self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil])) {
        // Custom initialization
    }
    return self;
}
*/

/*
// Implement viewDidLoad to do additional setup after loading the view, typically from a nib.
- (void)viewDidLoad {
    [super viewDidLoad];
}
*/

/*
// Override to allow orientations other than the default portrait orientation.
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
    // Return YES for supported orientations
    return (interfaceOrientation == UIInterfaceOrientationPortrait);
}
*/

-(IBAction) top :(id)sender{
	recomenda * recomiendas = [[recomenda alloc]initWithNibName: nil bundle:nil];
	recomiendas.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;	
	[self presentModalViewController:recomiendas animated:YES];	
}

-(IBAction) search :(id)sender{
	busqueda * busquedas = [[busqueda alloc]initWithNibName: nil bundle:nil];
	busquedas.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;	
	[self presentModalViewController:busquedas animated:YES];
}

-(IBAction) estrenos :(id)sender{
	prox * proxi = [[prox alloc]initWithNibName: nil bundle:nil];
	proxi.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;	
	[self presentModalViewController:proxi animated:YES];
}

-(IBAction) noticias :(id)sender{
	noticias * noticia = [[noticias alloc]initWithNibName: nil bundle:nil];
	noticia.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;	
	[self presentModalViewController:noticia animated:YES];	
}

-(IBAction) inicio :(id)sender{
	prototipo1MoviesViewController * inicios = [[prototipo1MoviesViewController alloc]initWithNibName: nil bundle:nil];
	inicios.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;	
	[self presentModalViewController:inicios animated:YES];	
}

-(IBAction) help :(id)sender{
	help * helps = [[help alloc]initWithNibName: nil bundle:nil];
	helps.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;
	[self presentModalViewController:helps animated:YES];
}

- (void)didReceiveMemoryWarning {
    // Releases the view if it doesn't have a superview.
    [super didReceiveMemoryWarning];
    
    // Release any cached data, images, etc that aren't in use.
}

- (void)viewDidUnload {
    [super viewDidUnload];
    // Release any retained subviews of the main view.
    // e.g. self.myOutlet = nil;
}


- (void)dealloc {
    [super dealloc];
}


@end
